#ifndef __OUT__FADE__RENDER__H__
#define __OUT__FADE__RENDER__H__
#include "IRender.h"
#include <string>
class OutFadeRender : public IRender
{
public:
	OutFadeRender(const std::string& name);

public:
	virtual void draw();
	virtual void idle();

private:
	PROGRAM_HANDLE mVertex;
	PROGRAM_HANDLE mFragment;
	CGprogram mVertexProgram;
	CGprogram mFragmentProgram;
	CGparameter mParamMvp;
	CGparameter mParamWorldMatrix;
	CGparameter mFadeColor;
	CGparameter mShiness;
	float mProject[16];
	float mView[16];
	float mModel[16];
	float mModelViewProject[16];
	float mRotateAngleY;
};
#endif//__OUT__LINE__RENDER__H__